package com.ruoyi.projects.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户会员卡对象 sl_member_card
 * 
 * @author yangz
 * @date 2024-12-01
 */
public class SlMemberCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员卡id */
    private Long cardId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long customId;

    /*会员昵称**/
    private String customName;

    /**
     * 会员卡号
     */
    private String cardNo;

    /** 手机号 */
    @Excel(name = "手机号")
    private String tel;

    /** 次数 */
    @Excel(name = "次数")
    private Long num;

    /** 剩余次数 */
    @Excel(name = "剩余次数")
    private Long leftNum;

    /**卡类别 */
    @Excel(name = "卡类别")
    private String cardType;

    /** 开卡价格 */
    @Excel(name = "开卡价格")
    private BigDecimal cardPrice;

    /** 状态（1：正常，2：停卡） */
    @Excel(name = "状态", readConverterExp = "1=：正常，2=已关闭,3=停卡")
    private Long cardStatus;

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Long getLeftNum() {
        return leftNum;
    }

    public void setLeftNum(Long leftNum) {
        this.leftNum = leftNum;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public void setCardId(Long cardId)
    {
        this.cardId = cardId;
    }

    public Long getCardId() 
    {
        return cardId;
    }
    public void setCustomId(Long customId) 
    {
        this.customId = customId;
    }

    public Long getCustomId() 
    {
        return customId;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setCardPrice(BigDecimal cardPrice) 
    {
        this.cardPrice = cardPrice;
    }

    public BigDecimal getCardPrice() 
    {
        return cardPrice;
    }
    public void setCardStatus(Long cardStatus) 
    {
        this.cardStatus = cardStatus;
    }

    public Long getCardStatus() 
    {
        return cardStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("customId", getCustomId())
            .append("tel", getTel())
            .append("num", getNum())
            .append("cardPrice", getCardPrice())
            .append("cardStatus", getCardStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
